<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set value="${pageContext.request.contextPath }" var="path"
	scope="page"></c:set>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>精品课程申报查看页</title>
    <link type="text/css" href="${path }/static/css/index.css" rel="stylesheet" />
    
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)" />
    <style type="text/css">
		.tAble{
			border-collapse: collapse;
			margin: 0 auto;
			width: 747px;
			text-align: center;
		}

		.tAble td,
		.tAble th {
			/* border-width: 1px 0 1px 0;
			border-style: solid;
			border-color: black; */

			border: 1px solid #888787;
			color: #666;
			height: 30px;
		}
		.articlecontent{
			min-height: 500px;
		}
		.tAble thead th {
			background-color: #AAAAAA;
			width: 100px;
		}

		.tAble:nth-child(odd) {
			background: #fff;
		}

		.tAble .tR:nth-child(even) {
			background: #fff;
		}

		.but-td {
			border: 0;
			outline: none;
			width: 50px;
			height: 25px;
		}
		.but-tr{
			border: 0;
			outline: none;
			width: 100px;
			height: 25px;
		}
		.but {
		    -webkit-transition-duration: 0.4s; /* Safari */
		    transition-duration: 0.4s;
		}
		
		.but:hover {
		    background-color: #AAAAAA; /* Green */
		    color: #666;
		}
	</style>
    </head>
  
  <body>
<%--    <div id="sidel"></div>--%>
<%--	<div id="sider"></div>--%>
	<div id="frame">
		<div id="outer">
			<div id="header">
				<a href="/index/"><div id="logo"></div></a>
				<div id="contact">
					<c:choose>
						<c:when test="${not empty u}">
							<div class="click">用户: ${u.userName }</div>
						</c:when>
						<c:otherwise>
							<a href="/admin/User/teacherLogin" class="click">登录</a>
						</c:otherwise>
					</c:choose>
					<a href="/admin/User/zhuceshow" class="click">注册</a> <a href="/admin/User/zhuxiao" class="click">登出</a>
				</div>
			</div>
			<div class="clear"></div>
			<div id="navigator">
				<div frag="面板1">
					<div frag="窗口1">
						<div id="wp_nav_w1">
							<ul class="wp_nav"
								data-nav-config="{drop_v: 'down', drop_w: 'right', dir: 'y', opacity_main: '-1', opacity_sub: '-1', dWidth: '0'}">
								<li class="nav-item i1 "><a href="/index/" title="首页"
									target="_self"> <span class="item-name">首页</span></a> <i
									class="mark"></i></li>
								<li class="nav-item i2 "><a href="/admin/declare/ht.do"
									title="精品课程申报"> <span class="item-name">精品课程申报</span></a> <i
									class="mark"></i></li>
								<li class="nav-item i3 "><a
									href="/admin/User/gr.do?userId=${u.userId }"  title="最新通知"
									target="_self"> <span class="item-name">个人信息</span></a> <i
									class="mark"></i></li>
								<li class="nav-item i4 "><a href="/admin/declare/gl.do" title="政策文件"
									target="_self"> <span class="item-name">课程管理</span></a> <i
									class="mark"></i></li>
								<li class="nav-item i5 "><a
									href="/admin/declare/teacherShow.do?userId=${u.userId }"
									title="课程查看" target="_self"> <span class="item-name">课程查看</span></a>
									<i class="mark"></i></li>
								<li class="nav-item i6 "><a href="#" title="工作经验"
									target="_self"> <span class="item-name">工作经验</span></a> <i
									class="mark"></i></li>
								<li class="nav-item i7 "><a href="#" title="表格下载"
									target="_self"> <span class="item-name">表格下载</span></a> <i
									class="mark"></i></li>
								<li class="nav-item i8 "><a href="#" title="相关链接"
									target="_self"> <span class="item-name">相关链接</span></a> <i
									class="mark"></i></li>
							</ul>
						</div>
					</div>
				</div>
				<div class="clear"></div>
			</div>
        <div id="navigator">
					<div frag="面板1">
						<div frag="窗口1">
							<div id="wp_nav_w1">
								<ul class="wp_nav"
									data-nav-config="{drop_v: 'down', drop_w: 'right', dir: 'y', opacity_main: '-1', opacity_sub: '-1', dWidth: '0'}">
									<li class="nav-item i2 ">
										<span class="item-name">
											<h1>精品课程申报查看</h1>
										</span>
										<i class="mark"></i>
									</li>
								</ul>
							</div>
						</div>
					</div>
					<div class="clear"></div>
<div frag="面板6">
						<div frag="窗口6">
<%--							<div class="tbar">--%>
<%--								<span frag="标题">&nbsp;</span></div>--%>
							<div id="boxCity">
								<div class="articlecontent ">
									<form method="POST" action="#" class="form">
										<table width="100%" class="tAble">
											<thead>
												<tr class="tR">
													<th class="tH" >
														课程名称
													</th>
													<th class="tH" >
														负责人
													</th>
													<th class="tH">
														所属学院
													</th>
													<th class="tH">
														所属学科
													</th>
													<th class="tH">
														状态
													</th>
													<th class="tH">
														查看详情
													</th>												
												</tr>
											</thead>
											<c:choose>
												<c:when test="${not empty cd}">
											<c:forEach items="${cd}" var="cd">
											<tr class="tR">
												<td class="tD" width="15%" height="40px">
													${cd.cName }
												</td>
												<td class="tD" width="15%" height="40px">
													${cd.cPrincipal }
												</td>
												<td class="tD" width="15%" height="40px">
													 ${cd.college } 
												</td>	
												<td class="tD" width="15%" height="40px">
														${cd.discipline }
												</td>
												<td class="tD" width="15%" height="40px">
														${cd.technical }
												</td>		
												<td class="tD" width="15%" height="40px">
													<a href="/admin/declare/ts?serialNumber=${cd.serialNumber  }">查看详情</a>
												</td>
											</tr>
											</c:forEach>
											</c:when>
											<c:otherwise>
												你还没发布任何课程
											</c:otherwise>
											</c:choose>
										</table>
									</form>
								</div>
							</div>
						</div>
					</div>
					<div class="clear"></div>



					<!--div id="copyright">版权所有 2020 重庆工商职业学院 合川校区地址：重庆市合川区高校园区思源路15号 邮编：401520 电话：023-42860043</div-->
				</div>
			</div>


			<!-- <script type="text/javascript" src="/_upload/tpl/00/98/152/template152/htmlRes/controller.js" defer="defer"></script> -->
			<script>
				
				var form = new FormData(),
				    url = 'http://.......', //服务器上传地址
				    file = files[0];
				form.append('file', file);
				 
				fetch(url, {
				    method: 'POST',
				    body: form
				}).then(function(response) {
				    if (response.status >= 200 && response.status < 300) {
				        return response;
				    } 
				    else {
				        var error = new Error(response.statusText);
				        error.response = response;
				        throw error;
				    }
				}).then(function(resp) {
				    return resp.json();
				}).then(function(respData) {
				    console.log('文件视频成功', respData);
				}).catch(function(e) {
				    console.log('文件视频失败', e);
				});
			</script>
	</div>
	</body>
		
	</html>
	<img src="/_visitcount?siteId=70&type=1&columnId=2874" style="display:none" width="0" height="0"></image>
</html>